package com.lucasx.entity;

/**
 * Created by Administrator on 2016/10/7.
 */
public class Direction {

    private short no;
    private double startAngle;
    private double toAngle;

    public Direction(short no, double startAngle, double toAngle) {
        this.no = no;
        this.startAngle = startAngle;
        this.toAngle = toAngle;
    }

    public Direction() {
    }

    public short getNo() {
        return no;
    }

    public void setNo(short no) {
        this.no = no;
    }

    public double getStartAngle() {
        return startAngle;
    }

    public void setStartAngle(double startAngle) {
        this.startAngle = startAngle;
    }

    public double getToAngle() {
        return toAngle;
    }

    public void setToAngle(double toAngle) {
        this.toAngle = toAngle;
    }

    @Override
    public String toString() {
        return "Direction{" +
                "no=" + no +
                ", startAngle=" + startAngle +
                ", toAngle=" + toAngle +
                '}';
    }
}
